import { setStore } from './setstore'
import rootReducer from './reducers/index'

let store
export const configStore = () => {
  store = setStore(rootReducer)
  return store
}

export const getStore = () => {
  return store
}
